#include <QtGui/QApplication>
#include "widget.h"
#include <QTextCodec>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QTextCodec *tc = QTextCodec::codecForLocale();
        QTextCodec::setCodecForCStrings(tc);
        QTextCodec::setCodecForLocale(tc);
        QTextCodec::setCodecForTr(tc);
    Widget w;
    w.show();

    return a.exec();
}
